home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / SDKs / Word Services SDK 1.0.6 / Writeswell Jr 1.2.1 Sources ƒ / Writeswell Jr. Source / headers / TBGlobals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-25  |  1.3 KB  |  44 lines  |  [TEXT/MMCC]

  1. /* TBGlobals.h */
  2.  
  3. #ifdef GLOBALS_HERE
  4. #define ext
  5. #else
  6. #define ext extern
  7. #endif
  8.  
  9. ext short gRefNum;                    /* RefNum of the doc being spellchecked */
  10. ext short gResRefNum;                /* RefNum of the doc being spellchecked */
  11. ext Boolean    gDocDirty;                /* True if document has been changed at all */
  12. ext Boolean    gDocExists;                /* True if the document comes from disk */
  13.  
  14. ext Boolean    gQuitRequested;            /* True if we have received a Quit event */
  15. ext Boolean gPrintRequested;        /* True if we have received a Print event */
  16.  
  17. ext Boolean    gReadOnly;                /* True if doc is read-only (ttro) */
  18.  
  19. ext short    gNumPictures;            /* Number of TeachText style pictures */
  20.  
  21. #ifdef NEVER
  22. ext AEAddressDesc gSpellerAddr;        /* Address of IAC speller process */
  23. #endif
  24.  
  25. ext long gTransactionID;
  26.  
  27. /* I have some notion of making this a multiwindow editor someday.  For now, I allow
  28.  * one window, which is kept in gDocWindow.  gScrollWindow is the window that scroll
  29.  * operations are being performed on.  For now, this will always be the same as
  30.  * gDocWindow, but may be set to the current window instead, if we use multiple windows.
  31.  */
  32.  
  33. ext WindowPtr gDocWindow;
  34. ext WindowPtr gScrollWindow;
  35.  
  36. ext ControlHandle gVertScroll;
  37.  
  38. ext short gLinesPerPage;
  39.  
  40. ext short gPrefFileRefNum;
  41.  
  42. ext short gAppFileRefNum;
  43.  
  44. ext short gServItemID[ kMaxServices ];